﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Tradex.ComponentModel;

namespace Tradex.Trading {

    /// <summary>
    /// The TradeKey uniquely identifies a specific Trade instance.
    /// </summary>
    public sealed class TradeKey : Key<Trade> {

        /// <summary>
        /// Constructor taking all values
        /// </summary>
        /// <param name="value"></param>
        public TradeKey(Guid value) {
            Value = value;
        }

        /// <summary>
        /// The value of the key.
        /// </summary>
        public Guid Value { get; private set; }
    }

}
